package com.ztgf.shopping.mapper.audit;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.ztgf.shopping.models.bo.audit.AuditBO;
import com.ztgf.shopping.models.bo.shop.ShopInfoAuditBO;
import com.ztgf.shopping.models.dto.audit.AuditDTO;
import com.ztgf.shopping.models.vo.audit.AuditVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AuditMapper extends BaseMapper<AuditDTO> {
    List<AuditVO> queryPageList(Page<AuditVO> page, @Param("item") ShopInfoAuditBO bo);

    List<AuditVO> queryPageListNew(Page<AuditVO> page, AuditBO bo);

    Integer getNum(@Param("type") Integer type);//获取数量

    Integer getNum1(@Param("type")Integer type, @Param("type1")Integer type1);
}
